package com.ruoyi.project.system.location.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.project.system.location.mapper.LgbStoreLocationMapper;
import com.ruoyi.project.system.location.domain.LgbStoreLocation;
import com.ruoyi.project.system.location.service.ILgbStoreLocationService;
import com.ruoyi.common.utils.text.Convert;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2020-10-28
 */
@Service
public class LgbStoreLocationServiceImpl implements ILgbStoreLocationService 
{
    @Autowired
    private LgbStoreLocationMapper lgbStoreLocationMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param storeLocationId 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public LgbStoreLocation selectLgbStoreLocationById(Integer storeLocationId)
    {
        return lgbStoreLocationMapper.selectLgbStoreLocationById(storeLocationId);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param lgbStoreLocation 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<LgbStoreLocation> selectLgbStoreLocationList(LgbStoreLocation lgbStoreLocation)
    {
        return lgbStoreLocationMapper.selectLgbStoreLocationList(lgbStoreLocation);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param lgbStoreLocation 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertLgbStoreLocation(LgbStoreLocation lgbStoreLocation)
    {
        return lgbStoreLocationMapper.insertLgbStoreLocation(lgbStoreLocation);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param lgbStoreLocation 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateLgbStoreLocation(LgbStoreLocation lgbStoreLocation)
    {
        return lgbStoreLocationMapper.updateLgbStoreLocation(lgbStoreLocation);
    }

    /**
     * 删除【请填写功能名称】对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    @Override
    public int deleteLgbStoreLocationByIds(String ids)
    {
        return lgbStoreLocationMapper.deleteLgbStoreLocationByIds(Convert.toStrArray(ids));
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param storeLocationId 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteLgbStoreLocationById(Integer storeLocationId)
    {
        return lgbStoreLocationMapper.deleteLgbStoreLocationById(storeLocationId);
    }
}
